﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Functions/Forms/Forms.master" AutoEventWireup="true" CodeBehind="FlexiForm.aspx.cs" Inherits="HRDexCapstoneProject.Functions.Forms.WebForm2" %>

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainPage" runat="server">
>>>>>>> .r86
    <div>
    <table align="center">
    <tr>
             <td colspan="4">

                        FLEXI FORM<asp:Label 
                            ID="lblDatePub" runat="server"></asp:Label>
             </td> 
    </tr>
        <tr>
            <td>
                Employee No:</td>
            <td style="width: 124px"
                <asp:TextBox ID="txtEmpNo" runat="server" Width="115px"></asp:TextBox>
                </td>
            <td>
                Employee Name:</td>
            <td>
                <asp:TextBox ID="txtEmpName" runat="server" Width="280px"></asp:TextBox>
                </td>
            </tr>
        <tr>
            <td>
                Position</td>
            <td style="width: 124px">
                <asp:DropDownList ID="ddlPositions" runat="server" DataSourceID="Position" 
                    DataTextField="catPositionsName" DataValueField="catPositionsID" Height="18px" 
                    Width="119px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="Position" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catPositions]"></asp:SqlDataSource>
            </td>
            <td>
                Office</td>
            <td>
                <asp:DropDownList ID="ddlOffice" runat="server" DataSourceID="office" 
                    DataTextField="CollegeName" DataValueField="CollegeID" Height="18px" 
                    Width="287px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="office" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catCollege]"></asp:SqlDataSource>
            </td>
            </tr>
        <tr>
            <td colspan="4">
                &nbsp;</td>
            </tr>
        <tr>
            <td colspan="4">
                Original Time Schedule</td>
            </tr>
        <tr>
            <td>
                Date
            </td>
            <td style="width: 124px">
                Time
            </td>
            <td>    
                No. of Hours
            </td>
            <td>
                Nature of Activity
            </td>
        </tr>
         <tr>
            <td>
                
                    <eo:DatePicker ID="DPOriginal" runat="server" ControlSkinID="None" 
                        DayCellHeight="15" DayCellWidth="31" DayHeaderFormat="Short" DisabledDates="" 
                        OtherMonthDayVisible="True" SelectedDates="" TitleFormat="MMMM, yyyy" 
                        TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" 
                        TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2012-01-01">
                        <CalendarStyle CssText="background-color:white;border-bottom-color:Silver;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Silver;border-left-style:solid;border-left-width:1px;border-right-color:Silver;border-right-style:solid;border-right-width:1px;border-top-color:Silver;border-top-style:solid;border-top-width:1px;color:#2C0B1E;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
                        <TitleStyle CssText="font-family:Verdana;font-size:8.75pt;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
                        <TitleArrowStyle CssText="cursor: hand" />
                        <MonthStyle CssText="cursor:hand;margin-bottom:0px;margin-left:4px;margin-right:4px;margin-top:0px;" />
                        <DayHeaderStyle CssText="font-family:Verdana;font-size:8pt;border-bottom: #f5f5f5 1px solid" />
                        <DayStyle CssText="font-family:Verdana;font-size:8pt;" />
                        <DayHoverStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040402');color:#1c7cdc;" />
                        <TodayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040401');color:#1176db;" />
                        <SelectedDayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040403');color:Brown;" />
                        <DisabledDayStyle CssText="font-family:Verdana;font-size:8pt;color: gray" />
                        <FooterTemplate>
                            <table border="0" cellPadding="0" cellspacing="5" 
                                style="font-size: 11px; font-family: Verdana">
                                <tr>
                                    <td width="30">
                                    </td>
                                    <td valign="center">
                                        <img src="{img:00040401}"></img></td>
                                    <td valign="center">
                                        Today: {var:today:MM/dd/yyyy}</td>
                                </tr>
                            </table>
                        </FooterTemplate>
                    </eo:DatePicker>
                <asp:TextBox ID="txtODate" runat="server" Width="115px"></asp:TextBox>
                
            </td>
            <td style="width: 124px">
                <asp:DropDownList ID="ddlOhr" runat="server" Height="22px" Width="45px">
                     <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlOmin" runat="server" Height="22px" Width="45px">
                    <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                </asp:DropDownList>
                <br />
                <asp:TextBox ID="txtOTime" runat="server" Width="115px"></asp:TextBox>
            </td>
                No. of Hours
            <td>    
                <asp:Label ID="txtOtotal" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtActivityReason" runat="server" Width="280px"></asp:TextBox>
             </td>
        </tr>
        <tr>
            <td colspan="4">Flexi Time Schedule</td>
        </tr>
        <tr>
            <td>
                Date
            </td>
            <td style="width: 124px">
                Time
            </td>
            <td>    
                No. of Hours
            </td>
            <td></td>
        </tr>
        <tr>
            <td>
                
                    <eo:DatePicker ID="DPFlexi" runat="server" ControlSkinID="None" 
                        DayCellHeight="15" DayCellWidth="31" DayHeaderFormat="Short" DisabledDates="" 
                        OtherMonthDayVisible="True" SelectedDates="" TitleFormat="MMMM, yyyy" 
                        TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" 
                        TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2012-01-01">
                        <CalendarStyle CssText="background-color:white;border-bottom-color:Silver;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Silver;border-left-style:solid;border-left-width:1px;border-right-color:Silver;border-right-style:solid;border-right-width:1px;border-top-color:Silver;border-top-style:solid;border-top-width:1px;color:#2C0B1E;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
                        <TitleStyle CssText="font-family:Verdana;font-size:8.75pt;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
                        <TitleArrowStyle CssText="cursor: hand" />
                        <MonthStyle CssText="cursor:hand;margin-bottom:0px;margin-left:4px;margin-right:4px;margin-top:0px;" />
                        <DayHeaderStyle CssText="font-family:Verdana;font-size:8pt;border-bottom: #f5f5f5 1px solid" />
                        <DayStyle CssText="font-family:Verdana;font-size:8pt;" />
                        <DayHoverStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040402');color:#1c7cdc;" />
                        <TodayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040401');color:#1176db;" />
                        <SelectedDayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040403');color:Brown;" />
                        <DisabledDayStyle CssText="font-family:Verdana;font-size:8pt;color: gray" />
                        <FooterTemplate>
                            <table border="0" cellPadding="0" cellspacing="5" 
                                style="font-size: 11px; font-family: Verdana">
                                <tr>
                                    <td width="30">
                                    </td>
                                    <td valign="center">
                                        <img src="{img:00040401}"></img></td>
                                    <td valign="center">
                                        Today: {var:today:MM/dd/yyyy}</td>
                                </tr>
                            </table>
                        </FooterTemplate>
                    </eo:DatePicker>
                <asp:TextBox ID="txtfDate" runat="server" Width="115px"></asp:TextBox>
                
            </td>
            <td style="width: 124px">
                <asp:DropDownList ID="ddlFlexiHour" runat="server" Height="22px" Width="45px">
                    <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlFlexiMin" runat="server" Height="22px" Width="45px">
                    <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="txtfTime" runat="server" Width="115px"></asp:TextBox>
            </td>
                No. of Hours
            <td>    
                <asp:Label ID="txtftotal" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
        
    <div style="text-align: center">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" /> 
                <asp:Button ID="btnClear" runat="server" Text="Clear" />
                <asp:Button ID="btnClose" runat="server" Text="Close" />   
    </div>

    <table id="approval" align="right">
    <tr>
        <td>Chairperson/Supervisor</td>
        <td>
            <asp:DropDownList ID="ddlApproval1" runat="server" DataSourceID="ChairSuper" 
                DataTextField="Status" DataValueField="ApprovalIDHead">
            </asp:DropDownList>
            <asp:SqlDataSource ID="ChairSuper" runat="server" 
                ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                SelectCommand="SELECT * FROM [catApprovalHead]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td>Dean/Director</td>
        <td>
            <asp:DropDownList ID="ddlApproval2" runat="server" DataSourceID="deanDirector" 
                DataTextField="Status" DataValueField="ApprovalIDDean">
            </asp:DropDownList>
            <asp:SqlDataSource ID="deanDirector" runat="server" 
                ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                SelectCommand="SELECT * FROM [catApprovalDean]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td>Human Resource Director</td>
        <td>
            <asp:DropDownList ID="ddlApproval3" runat="server" 
                DataSourceID="HRApproval" DataTextField="ApprovalName" 
                DataValueField="ApprovalIDHR">
            </asp:DropDownList>
            <asp:SqlDataSource ID="HRApproval" runat="server" 
                ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                SelectCommand="SELECT * FROM [catApproval]"></asp:SqlDataSource>
        </td>
    </tr>     
    </table>
</div>
</asp:Content>
